<template>
  <div class="main-container">
    <el-container>
      <el-aside width="200px">Aside</el-aside>
      <el-container>
        <el-header>Header</el-header>
        <el-main>Main</el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
  name: 'Main',
  setup() {
    return {}
  }
})
</script>

<style lang="less">
.main-container {
  height: 100%;
  .el-container {
    height: 100%;
    .el-aside {
      background-color: var(--el-color-primary-light-8);
      color: var(--el-text-color-primary);
      text-align: center;
      margin-bottom: 0;
    }

    .el-header {
      background-color: var(--el-color-primary-light-7);
      color: var(--el-text-color-primary);
      text-align: center;
    }

    .el-main {
      background-color: var(--el-color-primary-light-9);
      color: var(--el-text-color-primary);
      text-align: center;
      height: 150px;
    }
  }
}
</style>
